package com.sztz.mapstruct.K映射转换;

import cn.hutool.crypto.SecureUtil;
import org.mapstruct.Named;

/**
 * @author yyf
 * @email yeyafei@hotmail.com
 */
public class Encryption {

    @Named("md5")
    public String toEn(String str) {
        return SecureUtil.md5(str);
    }
}
